﻿function Widget_FixedIFrame(obj)
{
   this.initializeBase(obj);
}
Widget_FixedIFrame.prototype = new WidgetInstance;

Widget_FixedIFrame.prototype.Refresh = function()
{
   var oSrc = this.IFrame.src;
   this.IFrame.src = "about:blank";
   this.IFrame.src = oSrc;
}

Widget_FixedIFrame.prototype.Load = function()
{
   this.Widget.InstanceLoad();
      
   this.WidgetDiv_Command_Edit = document.getElementById("wdivc_edit" + this.Widget.id);

   this.IFrame = document.getElementById("iframe" + this.Widget.id);
   
   this.Widget.InstanceLoadComplete();
}

Widget_FixedIFrame.prototype.SaveHeight = function()
{
   this.Setting.Height.value = Q_Drag.element.style.height;
   this.Save();
}
